package com.zb.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zb.entity.ZjAddress;
import com.zb.vo.Address;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author WEN
 * @since 2023-08-11
 */
public interface ZjAddressService extends IService<ZjAddress> {

    /**
     * 获取一级地址
     * @return
     */
    List<Address> getAddress();


    /**
     * 获取子级地址
     * @param parentId 父级地址ID
     * @return
     */
    List<Address> getChildAddress(String parentId);

}
